package com.fosung.frame.tsdemo.front.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.fosung.frame.tsdemo.front.dao.PartyBuildingNewDao;
import com.fosung.frame.tsdemo.front.service.PartyBuildingNewService;

@Service
@Transactional(readOnly = true)
public class PartyBuildingNewServiceImpl implements PartyBuildingNewService {

	@Resource
	private PartyBuildingNewDao dao;

	public Map<String, Object> getNoticeById(String id) {
		return dao.getNoticeById(id);
	}

	@Override
	public List<Map<String, Object>> getModuleList(String userId) {
		return dao.getModuleList(userId);
	}

	@Override
	public Map<String, Object> getMeetingById(String id) {
		return dao.getMeetingById(id);
	}

	@Override
	public List<Map<String, Object>> getNoticeList(String userId) {
		return dao.getNoticeList(userId);
	}

	@Override
	public List<Map<String, Object>> getLearnList(String userId) {
		return dao.getLearnList(userId);
	}

	@Override
	public List<Map<String, Object>> getNoticeDays(String userId) {
		return dao.getNoticeDays(userId);
	}

	@Override
	public List<Map<String, Object>> getModuleGroup(String userId) {
		// TODO Auto-generated method stub
		return dao.getModuleGroup(userId);
	}

	@Override
	public List<Map<String, Object>> getModuleLists(String userId, String groupId) {
		// TODO Auto-generated method stub
		return dao.getModuleLists(userId, groupId);
	}
}
